package www.cslc.com.infogw.dto.generated;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 * <p>
 * Java class for anonymous complex type.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="ErrNo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="ErrMsg" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="Draw" maxOccurs="unbounded" minOccurs="0">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="GameNo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                   &lt;element name="DrawNo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                   &lt;element name="SaleBeginTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                   &lt;element name="SaleEndTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                   &lt;element name="DrawTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                   &lt;element name="PaidBeginTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                   &lt;element name="PaidEndTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                   &lt;element name="SuspendedFlag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "errNo", "errMsg", "draw" })
@XmlRootElement(name = "GetDrawInfoResult", namespace = "")
public class GetDrawInfoResult {

	@XmlElement(name = "ErrNo")
	protected String errNo;
	@XmlElement(name = "ErrMsg")
	protected String errMsg;
	@XmlElement(name = "Draw")
	protected List<GetDrawInfoResult.Draw> draw;

	/**
	 * Gets the value of the errNo property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getErrNo() {
		return errNo;
	}

	/**
	 * Sets the value of the errNo property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setErrNo(String value) {
		this.errNo = value;
	}

	/**
	 * Gets the value of the errMsg property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getErrMsg() {
		return errMsg;
	}

	/**
	 * Sets the value of the errMsg property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setErrMsg(String value) {
		this.errMsg = value;
	}

	/**
	 * Gets the value of the draw property.
	 * 
	 * <p>
	 * This accessor method returns a reference to the live list, not a
	 * snapshot. Therefore any modification you make to the returned list will
	 * be present inside the JAXB object. This is why there is not a
	 * <CODE>set</CODE> method for the draw property.
	 * 
	 * <p>
	 * For example, to add a new item, do as follows:
	 * 
	 * <pre>
	 * getDraw().add(newItem);
	 * </pre>
	 * 
	 * 
	 * <p>
	 * Objects of the following type(s) are allowed in the list
	 * {@link GetDrawInfoResult.Draw }
	 * 
	 * 
	 */
	public List<GetDrawInfoResult.Draw> getDraw() {
		if (draw == null) {
			draw = new ArrayList<GetDrawInfoResult.Draw>();
		}
		return this.draw;
	}

	/**
	 * <p>
	 * Java class for anonymous complex type.
	 * 
	 * <p>
	 * The following schema fragment specifies the expected content contained
	 * within this class.
	 * 
	 * <pre>
	 * &lt;complexType>
	 *   &lt;complexContent>
	 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
	 *       &lt;sequence>
	 *         &lt;element name="GameNo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
	 *         &lt;element name="DrawNo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
	 *         &lt;element name="SaleBeginTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
	 *         &lt;element name="SaleEndTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
	 *         &lt;element name="DrawTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
	 *         &lt;element name="PaidBeginTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
	 *         &lt;element name="PaidEndTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
	 *         &lt;element name="SuspendedFlag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
	 *       &lt;/sequence>
	 *     &lt;/restriction>
	 *   &lt;/complexContent>
	 * &lt;/complexType>
	 * </pre>
	 * 
	 * 
	 */
	@XmlAccessorType(XmlAccessType.FIELD)
	@XmlType(name = "", propOrder = { "gameNo", "drawNo", "saleBeginTime",
			"saleEndTime", "drawTime", "paidBeginTime", "paidEndTime",
			"suspendedFlag" })
	public static class Draw {

		@XmlElement(name = "GameNo")
		protected String gameNo;
		@XmlElement(name = "DrawNo")
		protected String drawNo;
		@XmlElement(name = "SaleBeginTime")
		protected String saleBeginTime;
		@XmlElement(name = "SaleEndTime")
		protected String saleEndTime;
		@XmlElement(name = "DrawTime")
		protected String drawTime;
		@XmlElement(name = "PaidBeginTime")
		protected String paidBeginTime;
		@XmlElement(name = "PaidEndTime")
		protected String paidEndTime;
		@XmlElement(name = "SuspendedFlag")
		protected String suspendedFlag;

		/**
		 * Gets the value of the gameNo property.
		 * 
		 * @return possible object is {@link String }
		 * 
		 */
		public String getGameNo() {
			return gameNo;
		}

		/**
		 * Sets the value of the gameNo property.
		 * 
		 * @param value
		 *            allowed object is {@link String }
		 * 
		 */
		public void setGameNo(String value) {
			this.gameNo = value;
		}

		/**
		 * Gets the value of the drawNo property.
		 * 
		 * @return possible object is {@link String }
		 * 
		 */
		public String getDrawNo() {
			return drawNo;
		}

		/**
		 * Sets the value of the drawNo property.
		 * 
		 * @param value
		 *            allowed object is {@link String }
		 * 
		 */
		public void setDrawNo(String value) {
			this.drawNo = value;
		}

		/**
		 * Gets the value of the saleBeginTime property.
		 * 
		 * @return possible object is {@link String }
		 * 
		 */
		public String getSaleBeginTime() {
			return saleBeginTime;
		}

		/**
		 * Sets the value of the saleBeginTime property.
		 * 
		 * @param value
		 *            allowed object is {@link String }
		 * 
		 */
		public void setSaleBeginTime(String value) {
			this.saleBeginTime = value;
		}

		/**
		 * Gets the value of the saleEndTime property.
		 * 
		 * @return possible object is {@link String }
		 * 
		 */
		public String getSaleEndTime() {
			return saleEndTime;
		}

		/**
		 * Sets the value of the saleEndTime property.
		 * 
		 * @param value
		 *            allowed object is {@link String }
		 * 
		 */
		public void setSaleEndTime(String value) {
			this.saleEndTime = value;
		}

		/**
		 * Gets the value of the drawTime property.
		 * 
		 * @return possible object is {@link String }
		 * 
		 */
		public String getDrawTime() {
			return drawTime;
		}

		/**
		 * Sets the value of the drawTime property.
		 * 
		 * @param value
		 *            allowed object is {@link String }
		 * 
		 */
		public void setDrawTime(String value) {
			this.drawTime = value;
		}

		/**
		 * Gets the value of the paidBeginTime property.
		 * 
		 * @return possible object is {@link String }
		 * 
		 */
		public String getPaidBeginTime() {
			return paidBeginTime;
		}

		/**
		 * Sets the value of the paidBeginTime property.
		 * 
		 * @param value
		 *            allowed object is {@link String }
		 * 
		 */
		public void setPaidBeginTime(String value) {
			this.paidBeginTime = value;
		}

		/**
		 * Gets the value of the paidEndTime property.
		 * 
		 * @return possible object is {@link String }
		 * 
		 */
		public String getPaidEndTime() {
			return paidEndTime;
		}

		/**
		 * Sets the value of the paidEndTime property.
		 * 
		 * @param value
		 *            allowed object is {@link String }
		 * 
		 */
		public void setPaidEndTime(String value) {
			this.paidEndTime = value;
		}

		/**
		 * Gets the value of the suspendedFlag property.
		 * 
		 * @return possible object is {@link String }
		 * 
		 */
		public String getSuspendedFlag() {
			return suspendedFlag;
		}

		/**
		 * Sets the value of the suspendedFlag property.
		 * 
		 * @param value
		 *            allowed object is {@link String }
		 * 
		 */
		public void setSuspendedFlag(String value) {
			this.suspendedFlag = value;
		}

	}

}
